//
//  JHUser.h
//  Demo_Pods
//
//  Created by gjh on 2021/3/8.
//  Copyright © 2021 gjh. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface JHUser : NSObject

@property (nonatomic, copy) NSString *firstName;

@property (nonatomic, copy) NSString *lastName;

@property (nonatomic, copy) NSString *email;

@property (nonatomic, assign) NSInteger age;

- (instancetype)initWithFirstName:(NSString *)firstName lastName:(NSString *)lastName email:(NSString *)email age:(NSInteger)age;

+ (void)getUsers:(void(^)(NSArray<JHUser *> *users))usersBlock;

@end

NS_ASSUME_NONNULL_END
